/****************************************************
	文件：PlannerBase.cs
	作者：林文豪
	日期：2021/03/21 18:51:56
	功能：Noting
*****************************************************/
using System;
using System.Collections.Generic;

namespace MyGame.AI.GOAP {
    // TODO : 思考是否需要PlannerBase这个类
    public abstract class PlannerBase : IPlanner {
        protected List<INode> _Plan;

        public PlannerBase() {
            _Plan = new List<INode>();
        }

        public List<INode> GetPlan(INode from, IGoal to) {
            return GetPlanBase(from, to);
        }
        
        protected abstract List<INode>   GetPlanBase(INode from, IGoal to);
        public List<IAction> GetPlan(IGoal to) {
            throw new NotImplementedException();
        }
        public void FrameFunc() {
            throw new NotImplementedException();
        }
    }
}

